projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6de9ae9
)
Remove C99'ism.
author
robertl
<robertl>
Thu, 12 Jun 2003 23:52:03 +0000
(23:52 +0000)
committer
robertl
<robertl>
Thu, 12 Jun 2003 23:52:03 +0000
(23:52 +0000)
mkshort.c
patch
|
blob
|
history
diff --git
a/mkshort.c
b/mkshort.c
index f18b69eff48f255d79f0e7110e857b2b47d3e568..c2fae3f4d90d340f0d77296c87f15af7a3bdff11 100644
(file)
--- a/
mkshort.c
+++ b/
mkshort.c
@@
-88,10
+88,9
@@
static
int
add_to_hashlist(mkshort_handle *h, char *name)
{
- int hash;
-
- hash = hash_string(name);
+ int hash = hash_string(name);
uniq_shortname *s = xcalloc(1, sizeof (uniq_shortname));
+
s->orig_shortname = xstrdup(name);
ENQUEUE_TAIL(&h->namelist[hash], &s->list);
}